package com.woniuxy.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.shop.entity.Shop;
import org.springframework.cloud.openfeign.FeignClient;


//@FeignClient("shop")
public interface ShopService extends IService<Shop> {


    //查询，带分页
    Page<Shop> findByPage(Page page);

    //通过门店id查询门店详情
    Shop viewShop(int sid);

    //通过门店地址搜索门店
    Shop findByAddr(String addr);

    //通过门店名称搜索门店
    Shop findByName(String name);


}
